package cliente;

import java.sql.SQLException;
import java.util.Collection;

import cliente.exception.ExceptionPessoaJaCadastrada;

public interface IRepositorioCliente {
	public void CadastrarCliente(Cliente cli) throws ClassNotFoundException, SQLException, ExceptionPessoaJaCadastrada;
	public Cliente PesquisarCliente(String cpf) throws ClassNotFoundException, SQLException;
	public void ExcluirCliente(Cliente cliente) throws ClassNotFoundException, SQLException;
	public void AlterarCliente(Cliente client) throws ClassNotFoundException, SQLException;
	public Collection<Cliente> Pesqtudo() throws ClassNotFoundException, SQLException;
	public String pegarcod() throws ClassNotFoundException, SQLException;
	public Cliente Pesqnome(String nome) throws ClassNotFoundException, SQLException;
	public Collection<Cliente> pesqtudocpf(String cpf) throws SQLException, ClassNotFoundException;
}
